<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0 ,maximum-scale=1,user-scalable=no">
    <link rel="stylesheet" href="../../../../../../../../bohoon.cn/bohoon-main/src/main/resources/static/jquery-we/jquery-weui.min.css">
    <link rel="stylesheet" href="../../../../../../../../bohoon.cn/bohoon-main/src/main/resources/static/jquery-we/weui.min.css">
    <link rel="stylesheet" href="../../../../../../../../bohoon.cn/bohoon-main/src/main/resources/static/assets/css/common.css">
    <link rel="stylesheet" href="../../../../../../../../bohoon.cn/bohoon-main/src/main/resources/static/assets/css/deliver.css">
    <script src="../../../../../../../../bohoon.cn/bohoon-main/src/main/resources/static/assets/plugins/fancybox/lib/jquery-1.10.1.min.js"></script>
    <script src="../../../../../../../../bohoon.cn/bohoon-main/src/main/resources/static/jquery-we/jquery-weui.min.js"></script>
    <!--<script src="../../../../../../../../bohoon.cn/bohoon-main/src/main/resources/static/Highcharts-6.0.2/code/highcharts.js"></script>-->
    <!--<script src="../../../../../../../../bohoon.cn/bohoon-main/src/main/resources/static/assets/scripts/views-main-charts.js"></script>-->
</head>
<body class="view-container">
<div class="header bar-positive">
    <a href="" class="left"><img src="../../../../../../../../bohoon.cn/bohoon-main/src/main/resources/static/assets/images/blockr.png"/></a>
    <h1>创建发货单</h1>
    <a href="" class="right"><img src="../../../../../../../../bohoon.cn/bohoon-main/src/main/resources/static/assets/images/more.png"/></a>
</div>
<div class="contanen">
    <div class="weui-cells weui-cells_form">
        <div class="weui-cell">
            <div class="weui-cell__hd"><label class="weui-label">编号</label></div>
            <div class="weui-cell__bd">
                <input class="weui-input" type="text" placeholder="DD00000000001">
            </div>
        </div>
        <div class="weui-cells add_botm">
            <a class="weui-cell weui-cell_access popup_wu" href="javascript:;">
            <div class="weui-cell__hd"><label class="weui-label">物流公司</label></div>
            <div class="weui-cell__bd">
                <input class="weui-input" type="text" placeholder="请点击选择物流公司">
            </div>
            <div class="weui-cell__ft">
            </div>
            </a>
        </div>
        <div class="weui-cell">
            <div class="weui-cell__hd"><label class="weui-label">物流单号</label></div>
            <div class="weui-cell__bd">
                <input class="weui-input" type="text" placeholder="请填写物流单号">
            </div>
        </div>
        <div class="weui-cell">
            <div class="weui-cell__hd"><label class="weui-label">购买会员</label></div>
            <div class="weui-cell__bd">
                <input class="weui-input" type="text" placeholder="KD00000170517607">
            </div>
        </div>
        <div class="weui-cell">
            <div class="weui-cell__hd"><label class="weui-label">所属企业</label></div>
            <div class="weui-cell__bd">
                <input class="weui-input" type="text" placeholder="武汉博宏网络工程有限公司">
            </div>
        </div>
    </div>
    <div class="weui-cells weui-cells_form">
        <div class="weui-cell">
            <div class="weui-cell__hd"><label class="weui-label">收货人</label></div>
            <div class="weui-cell__bd">
                <input class="weui-input" type="text" placeholder="张三">
            </div>
        </div>
        <div class="weui-cell">
            <div class="weui-cell__hd"><label class="weui-label">收货人电话</label></div>
            <div class="weui-cell__bd">
                <input class="weui-input" type="number" placeholder="132720111111">
            </div>
        </div>
        <div class="weui-cell">
            <div class="weui-cell__hd"><label for="data" class="weui-label">收货地址</label></div>
            <div class="weui-cell__bd">
                <input class="weui-input" id="end" type="text" placeholder="湖北省武汉市江夏区">
            </div>
        </div>
        <div class="weui-cell">
            <div class="weui-cell__hd"><label class="weui-label">详细地址</label></div>
            <div class="weui-cell__bd">
                <input class="weui-input" type="text" placeholder="武大园路武大航域二区xxxxx0001">
            </div>
        </div>
    </div>
    <div class="weui-cells weui-cells_form">
        <div class="weui-cell">
            <div class="weui-cell__hd"><label for="" class="weui-label">发货时间</label></div>
            <div class="weui-cell__bd">
                <input type="text" id="on-data" placeholder="2018-05-21 14:00"/>
            </div>
        </div>
        <div class="weui-cells add_botm">
            <a class="weui-cell weui-cell_access warehouse" href="javascript:;">
                <div class="weui-cell__hd"><label class="weui-label">发货仓库</label></div>
                <div class="weui-cell__bd">
                    <input class="weui-input" type="text" placeholder="请选择发货仓库">
                </div>
                <div class="weui-cell__ft">
                </div>
            </a>
        </div>
        <div class="weui-cell">
            <div class="weui-cell__hd"><label class="weui-label">备注信息</label></div>
            <div class="weui-cell__bd">
                <input class="weui-input" type="text" placeholder="请输入备注信息">
            </div>
        </div>
    </div>
    <div class="deliver-list">
        <div class="weui-cells">
            <div class="weui-cell">
                <div class="weui-cell__bd">
                    <p>货品清单（<span>2</span>）</p>
                </div>
                <div class="weui-cell__ft">
                    点此折叠
                    <i class="icon icon-top"></i>
                </div>
            </div>
        </div>
    </div>
    <div class="deliver-lists">
        <div class="weui-cells">
            <div class="weui-cell">
                <div class="weui-cell__hd deliver-img"><img src="../../../../../../../../bohoon.cn/bohoon-main/src/main/resources/static/assets/images/list.png"/></div>
                <div class="weui-cell__bd deliver-ees">
                    <h2>单枝仿真花束花插花假花单枝仿真花束花插花假花单枝仿真花</h2>
                    <p><span>编号：</span><span>HP00000001</span></p>
                </div>
            </div>
        </div>
        <div class="weui-cells">
            <div class="weui-cell">
                <div class="weui-cell__bd deliver-ee">
                    <p><span>颜色：</span><span>粉色</span></p>
                    <p><span>单价：</span>￥62.00/件</p>
                    <p><span>品牌：</span>品牌名称</p>
                    <p><span>税码：</span>增值税20%</p>
                </div>
                <div class="weui-cell__ft">
                    <p></p>
                    <p class="add_btn"><a class="btn btn-reduce">-</a><input type="text" value="0" class="count"><a class="btn btn-increse">+</a>个</p>
                    <p>库位：货品库位</p>
                </div>
            </div>
        </div>
    </div>
    <div class="check">
        <button class="no-button">创建</button>
    </div>
</div>

<div id="contai" class="weui-popup__container">
    <div class="weui-popup__overlay"></div>
    <div class="weui-popup__modal">
<div class="header bar-positive">
    <a href="" class="left popoff"><img src="../../../../../../../../bohoon.cn/bohoon-main/src/main/resources/static/assets/images/blockr.png"/></a>
    <h1>选择物流公司</h1>
    <a href="" class="right"><img src="../../../../../../../../bohoon.cn/bohoon-main/src/main/resources/static/assets/images/more.png"/></a>
</div>
<div class="contaner on-contaner">
    <div class="weui-cell weui-cell_switch">
        <div class="weui-cell__bd">申通物流公司</div>
        <div class="weui-cell__ft">
            <label for="switchCP1" class="weui-switch-cp">
                <input id="switchCP1" class="weui-switch-cp__input" type="checkbox" checked="checked">
                <div class="weui-switch-cp__box"></div>
            </label>
        </div>
    </div>
    <div class="weui-cell weui-cell_switch">
        <div class="weui-cell__bd">圆通物流公司</div>
        <div class="weui-cell__ft">
            <label for="switchCP2" class="weui-switch-cp">
                <input id="switchCP2" class="weui-switch-cp__input" type="checkbox">
                <div class="weui-switch-cp__box"></div>
            </label>
        </div>
    </div>
    <div class="weui-cell weui-cell_switch">
        <div class="weui-cell__bd">中通物流公司</div>
        <div class="weui-cell__ft">
            <label for="switchCP3" class="weui-switch-cp">
                <input id="switchCP3" class="weui-switch-cp__input" type="checkbox">
                <div class="weui-switch-cp__box"></div>
            </label>
        </div>
    </div>
    <div class="weui-cell weui-cell_switch">
        <div class="weui-cell__bd">顺风物流公司</div>
        <div class="weui-cell__ft">
            <label for="switchCP4" class="weui-switch-cp">
                <input id="switchCP4" class="weui-switch-cp__input" type="checkbox">
                <div class="weui-switch-cp__box"></div>
            </label>
        </div>
    </div>
</div>
</div>
</div>

<div id="warehouse" class="weui-popup__container">
    <div class="weui-popup__overlay"></div>
    <div class="weui-popup__modal">
        <div class="header bar-positive">
            <a href="" class="left popoff"><img src="../../../../../../../../bohoon.cn/bohoon-main/src/main/resources/static/assets/images/blockr.png"/></a>
            <h1>选择物流公司</h1>
            <a href="" class="right"><img src="../../../../../../../../bohoon.cn/bohoon-main/src/main/resources/static/assets/images/more.png"/></a>
        </div>
        <div class="contaner on-contaner">
            <div class="weui-cell weui-cell_switch">
                <div class="weui-cell__bd">武大航域仓库</div>
                <div class="weui-cell__ft">
                    <label for="switchCP5" class="weui-switch-cp">
                        <input id="switchCP5" class="weui-switch-cp__input" type="checkbox" checked="checked">
                        <div class="weui-switch-cp__box"></div>
                    </label>
                </div>
            </div>
            <div class="weui-cell weui-cell_switch">
                <div class="weui-cell__bd">古田二路仓库</div>
                <div class="weui-cell__ft">
                    <label for="switchCP6" class="weui-switch-cp">
                        <input id="switchCP6" class="weui-switch-cp__input" type="checkbox">
                        <div class="weui-switch-cp__box"></div>
                    </label>
                </div>
            </div>
            <div class="weui-cell weui-cell_switch">
                <div class="weui-cell__bd">武大航域仓库</div>
                <div class="weui-cell__ft">
                    <label for="switchCP7" class="weui-switch-cp">
                        <input id="switchCP7" class="weui-switch-cp__input" type="checkbox">
                        <div class="weui-switch-cp__box"></div>
                    </label>
                </div>
            </div>
            <div class="weui-cell weui-cell_switch">
                <div class="weui-cell__bd">古田二路仓库</div>
                <div class="weui-cell__ft">
                    <label for="switchCP8" class="weui-switch-cp">
                        <input id="switchCP8" class="weui-switch-cp__input" type="checkbox">
                        <div class="weui-switch-cp__box"></div>
                    </label>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
<script src="../../../../../../../../bohoon.cn/bohoon-main/src/main/resources/static/city/city-data.js"></script>
<script src="../../../../../../../../bohoon.cn/bohoon-main/src/main/resources/static/city/city-picker.js"></script>
<script>
    $("#end").cityPicker({});
    $("#datetime-picker").datetimePicker();
    $(".deliver-list .weui-cell__ft").on('click',function(){
        console.log(1);
        var That = $(this).find("i");
        if(That.hasClass("icon-bottom")){
            That.removeClass("icon-bottom");
            $(".deliver-lists").css("display","block")
            $(this).find("span").text("点此折叠")
        }else{
            That.addClass("icon-bottom");
            $(".deliver-lists").css("display","none")
            $(this).find("span").text("点此展开")
        }
    })
    //点击-事件
    $(".btn-reduce").on("click",  function () {
        var countInput = $(this).next();
        var value=parseInt(countInput.val());
        var startNum = parseInt(0) ;
        if(value <= startNum) {
            countInput.val(0);
            $(this).addClass("btn-disable");
        } else {
            countInput.val(value - 1);
            $(".btn-disable").removeClass("btn-disable");
        }
    });

    //点击+事件
    $(".btn-increse").on("click",function () {
        var countInput = $(this).prev();
        var value=parseInt(countInput.val());
                countInput.val(value + 1);
    });

    $(".popup_wu").on('click',function(){
        $("#contai").css("display",'block')
    })
    $(".warehouse").on('click',function(){
        $("#warehouse").css("display",'block')
    })
    $(".popoff").on('click',function(){
        $("#contai").css("display",'none');
        $(".warehouse").css("display",'none')
    })

</script>
</html>